package com.briup.jz.service;

import com.briup.jz.bean.Category;
import com.briup.jz.bean.extend.CategoryExtend;

import java.util.List;

/**
 * @author 潘京博
 * @project: jz
 * @description: 栏目业务接口
 * @create: 2020/6/13 11:05
 */
public interface ICategoryService {
    List<Category> findAll();

    void saveOrUpdate(Category category);

    void deleteById(long id);

    List<CategoryExtend> findAllWithChildren();

    Category findById(long id);
}
